package cn.com.generaldata.os.importpojo;

import java.util.Date;

import com.sun.xml.internal.bind.CycleRecoverable;

/**
 * 报表类型实体
 */
public class ReportStaticContent implements java.io.Serializable, CycleRecoverable {
	private static final long serialVersionUID = 5454155825314635342L;

	private Integer id;
	private String content;
	private Integer position;
	private Date createTime;
	private Date lastUpdate;

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		ReportStaticContent temp = new ReportStaticContent();
		temp.setId(id);
		return temp;
	}

	public ReportStaticContent() {
		super();
	}

	public ReportStaticContent(Integer id, String content, Integer position, Date createTime, Date lastUpdate) {
		super();
		this.id = id;
		this.content = content;
		this.position = position;
		this.createTime = createTime;
		this.lastUpdate = lastUpdate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getPosition() {
		return position;
	}

	public void setPosition(Integer position) {
		this.position = position;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(Date lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

}
